const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  userInfo: state => state.user.userInfo,    //用户基本信息
  maige: state => state.user.userInfo.staffPhoto,  //员工头像
  routes:state=>state.permission.routes   //所有的权限路由

}
export default getters
